<?php
namespace app\common\component\admin;

class AdminModel extends \think\Model {
	protected $table = 'league_admin';
	
	public function getStatusAttr($value) {
		$status = ['正常', '已禁止'];
		return $status[$value];
	}
}
?>